<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<h:head>
	<title><ui:insert name="pageTitle">ControledeManutenção</ui:insert>
	</title>
	<link rel="stylesheet" type="text/css" href="stl/style.css"></link>
</h:head>
<h:body bgcolor="#ffffff">
	<div align="center">
		<h:form>
			<rich:dataTable value="Manutenção">

				<f:facet name="header">
					<h:outputText value="Controle de Manutenção"></h:outputText>
				</f:facet>

				<rich:column>

					<f:facet name="header">
						<h:outputText value="Funcionario" />
					</f:facet>
					<h:commandButton value="Cadastro"
						action="funcionario/funcionario-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="funcionario/funcionario-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar"
						action="funcionario/funcionario-list.xhtml" />
				</rich:column>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Setor" />
					</f:facet>
					<h:commandButton value="Cadastro" action="setor/setor-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="setor/setor-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar" action="setor/setor-list.xhtml" />
				</rich:column>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Maquina" />
					</f:facet>
					<h:commandButton value="Cadastro"
						action="maquina/maquina-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="maquina/maquina-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar" action="maquina/maquina-list.xhtml" />
				</rich:column>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Defeito" />
					</f:facet>
					<h:commandButton value="Cadastro"
						action="defeito/defeito-form.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="defeito/defeito-list-tabela.xhtml" />
					<br></br>
					<h:commandButton value="Editar" action="defeito/defeito-list.xhtml" />
				</rich:column>

				<rich:column>
					<f:facet name="header">
						<h:outputText value="Chamado" />
					</f:facet>
					<h:commandButton value="Abrir" action="chamado/chamado-form.xhtml" />
					<br></br>
					<h:commandButton value="Fechar"
						action="chamado/chamado-list-tabela-open.xhtml" />
					<br></br>
					<h:commandButton value="Listar"
						action="chamado/chamado-list-tabela.xhtml" />
				</rich:column>
			</rich:dataTable>
		</h:form>
	</div>
</h:body>
</html>